//
//  RequestPictureData.h
//  CarStop
//
//  Created by lanou3g on 15/7/17.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^reqPicSuccessBlock) (NSData *data);
typedef void (^reqPicErrorBlock) (NSError *error);

@interface RequestPictureData : NSObject

@property (nonatomic, copy)reqPicSuccessBlock reqSuccessBlockP;
@property (nonatomic, copy)reqPicErrorBlock reqErrorBlockP;

- (void)requestPicture:(NSString *)picUrl reqSuccessBlockP:(reqPicSuccessBlock)reqSuccessBlockP reqErrorBlockP:(reqPicErrorBlock)reqErrorBlockP;

@end
